html {
  box-sizing: border-box;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0 !important;
  padding: 0 !important;
  font-weight: normal;
}

ol {
  list-style: none;
}

body {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: rgb(255, 240, 240);
}

.container {
  margin-top: 65px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100vh;
  padding: 5px;
}

.logo a {
  color: red;
  font-size: 40px;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
  font-family: "Pattaya", sans-serif;
  letter-spacing: 3px;
  text-decoration: none;

  background: linear-gradient(90deg, #b52f11, #c91909, #ff3333, #ff3399, #e31717);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textflow 5s linear infinite;
}

@keyframes textflow {
  from {background-position: 0% center}         
  to {background-position: 200% center}
}



header {
  position: fixed;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #3b3a3a;
  box-sizing: border-box;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: white;
  font-size: 20px;
}

nav a:hover {
  text-decoration: underline green;
}

.dostavka_btn,
.contacts_btn,
.cart,
.logo:hover {
  cursor: pointer;
}

.cart {
  display: flex;
  align-items: center;
  gap: 5px;
  color: white;
  position: relative;
}

.cart_count {
  background-color: rgb(172, 224, 123);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  width: 15px;
  color: black;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 1px;
  right: 5px;
}

.cart img:hover {
  cursor: pointer;
}

.menu {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  margin-bottom: 20px;
}

.element_menu {
  border: 1px solid rgba(0, 0, 0, 0.15);
  width: fit-content;
  font-size: 17px;
  font-weight: 600;
  display: inline-block;
  padding: 8px 13px 6px;
  line-height: 1.2;
  border-radius: 70px;
  margin-right: 5px;
  margin-bottom: 10px;
  user-select: none !important;
  white-space: nowrap;
}

.element_menu:hover {
  cursor: pointer;
  border-color: rgb(44, 176, 83);
}

.test {
  background-color: #dbe166;
}

.coast {
  margin-right: 20px;
  font-weight: 600;
}

.card {
  flex-basis: 20%;

}

.catalogs {
  display: flex;
  gap: 10px;
  flex: 0 2 300px;
  flex-wrap: wrap;
  display: none;
  justify-content: center;
}

.catalogs img {
  max-height: 200px;
  min-height: 200px;
}

.beef_catalog {
  display: flex;
}

.card-body {
  background-color: rgb(248, 246, 246);
  gap: 5px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 2px !important;
}

.contakts_container {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  display: none;
}

.adress p {
  text-align: center;
}

.metka_img {
  width: 30px;
}

.mesenger {
  display: flex;

  gap: 30px;
}

.mesenger img {
  width: 60px;
}

.my_cart_products {
  display: flex;
  display: none;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.empty-basket {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  font-size: larger;
}

.description {
  text-align: center;
}

.empty-basket a {
  cursor: pointer;
  padding: 13px 38px 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 20px;
  border-radius: 6px;
  display: inline-block;
  background: #8ab30f;
  color: #fff;
  text-align: center;
  border: none;
  outline: none !important;
  text-decoration: none;
}

.my_cart_products img {
  max-height: 250px;
  min-height: 250px;
}

.zakaz {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
  align-self: flex-end;
  justify-self: center;
  width: 80%;
  order: 1;
  display: none;
}

.zakaz form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* box-shadow: 10px 10px 10px rgb(176, 173, 173); */
  box-sizing: border-box;
  margin-bottom: 20px;
}


.zakaz input {
  padding: 5px 18px 5px;
  font-size: 17px;
  font-weight: 600;
  line-height: 20px;
  border-radius: 6px;
  outline: none !important;
  text-decoration: none;
}

input:focus::-webkit-input-placeholder {
  color: transparent;
}
input:focus:-moz-placeholder {
  color: transparent;
} /* FF 4-18 */
input:focus::-moz-placeholder {
  color: transparent;
} /* FF 19+ */
input:focus:-ms-input-placeholder {
  color: transparent;
} /* IE 10+ */

.zakaz .send_zakaz {
  cursor: pointer;
  padding: 5px 18px 5px;
  font-size: 17px;
  font-weight: 500;
  line-height: 20px;
  border-radius: 6px;
  background: #8ab30f;
  text-align: center;
  outline: none !important;
}

.zakaz .send_zakaz:active, .vozvrat_k_pokupkam:active {
  border: 1px solid rgb(48, 52, 43);
}

.vozvrat_k_pokupkam {
  cursor: pointer;
  padding: 5px 18px 5px;
  font-size: 17px;
  font-weight: 500;
  line-height: 20px;
  border-radius: 6px;
  background: #e1df5a;
  text-align: center;
  outline: none !important;
}

.delete_btn {
  background-color: rgb(223, 40, 40) !important;
  border: none !important;
}

.dostavka_oplata {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  display: none;
  align-items: center;
  gap: 30px;
}

.banner_dostavka {
  display: flex;
  align-items: center;
  max-width: 700px;
  height: 300px;
  margin-bottom: 25px;
  padding: 34px 22px 34px 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 15px;
}

.sposob-oplati {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 45px 55px;
  background: #f8f8f8;
}

.sposob-oplati img {
  max-width: 70px;
}

/* увеличить кол-во товара */
.count_kg {
  margin: 0 auto;
  padding: 5px 0px 5px 0px;
}

#txt {
  width: 50px;
  border: none;
  padding-left: 20px;
  background-color: whitesmoke;
}

.minus,
.plus {
  border-radius: 50%;
  border: 1px solid;
  text-align: center;
  width: 25px;
}

footer {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 35px;
  background-color: #3b3a3a;
  height: 50px;
  align-items: center;
  color: #fff;
}

footer img {
  width: 30px;
}

.footer_contacts {
  display: flex;
  gap: 15px;
}

main {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

@media (min-device-width: 320px) and (max-device-width: 400px) {
  .beef_catalog {
    display: flex;
  }

  /* header */
  header {
    flex-direction: column;
    padding-left: 5px;
    padding-right: 5px;
  }
  nav {
    flex-shrink: 2;
    align-items: center;
    gap: 10px;
  }

  nav a {
    font-size: 18px;
    font-weight: 700;
  }
  .logo a {
    color: red;
    font-size: 25px;
    font-weight: 700;
    font-family: "Open Sans", sans-serif;
    font-family: "Pattaya", sans-serif;
    letter-spacing: 3px;
  }

  .cart {
    display: flex;
    align-items: center;
    gap: 2px;
    color: white;
    height: 50px;
  }

  .cart img {
    width: 27px;
  }

  .cart_count {
    font-size: 13px;
    font-weight: 200;
    width: 18px;
    right: 1px;
  }

  /* menu items */

  .menu {
    justify-content: space-around;
    margin-top: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .element_menu {
    font-size: 20px;
    font-weight: 500;
    padding: 8px 13px 6px;
    line-height: 1.3;
  }

  /* kartochka tovara */

  .catalogs img {
    max-height: 120px;
    min-height: 120px;
  }

  .card {
    flex-basis: 45%;
    font-size: 13px;
  }

  .card-title {
    font-size: 17px;
  }

  .sposob-oplati img {
    max-width: 40px;
  }

  /* Контакты */

  #map {
    width: 50px;
  }

  /* корзина */

  .my_cart_products img {
    max-height: 120px;
    min-height: 120px;
  }

  .count_kg {
    display: flex;
    margin: 0 auto;
  }
}

@media (min-device-width: 401px) and (max-device-width: 470px) {
  .beef_catalog {
    display: flex;
  }

  /* header */
  header {
    flex-direction: column;
    padding-left: 5px;
    padding-right: 5px;
  }
  nav {
    display: flex;
    align-items: center;
    gap: 0px 50px;
  }

  nav a {
    font-size: 18px;
    font-weight: 700;
  }
  .logo a {
    color: red;
    font-size: 25px;
    font-weight: 700;
    font-family: "Open Sans", sans-serif;
    font-family: "Pattaya", sans-serif;
    letter-spacing: 3px;
  }

  .cart {
    display: flex;
    align-items: center;
    gap: 2px;
    color: white;
    height: 50px;
  }

  .cart img {
    width: 27px;
  }

  .cart_count {
    font-size: 13px;
    font-weight: 200;
    width: 18px;
    right: 1px;
  }

  /* menu items */

  .menu {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .element_menu {
    flex-basis: 33%;
    font-size: 20px;
    font-weight: 500;
    padding: 8px 13px 6px;
    line-height: 1.3;
  }

  /* kartochka tovara */

  .catalogs img {
    max-height: 120px;
    min-height: 120px;
  }

  .card {
    flex-basis: 45%;
    font-size: 13px;
  }

  .card-title {
    font-size: 17px;
  }
  .sposob-oplati img {
    max-width: 40px;
  }

  /* Контакты */

  #map {
    width: 50px;
  }

  /* корзина */

  .my_cart_products img {
    max-height: 120px;
    min-height: 120px;
  }

  .my_cart_products, .contakts_container, .dostavka_oplata {
    margin-top: 50px;
  }

  .count_kg {
    display: flex;
    margin: 0 auto;
  }
}

@media (min-device-width: 471px) and (max-device-width: 600px) {

  /* header */
  header {
    display: flex;
    flex-direction: column;
    padding-left: 5px;
    padding-right: 5px;
  }
  nav {
    display: flex;
    align-items: center;
    gap: 0px 50px;
  }

  nav a {
    font-size: 18px;
    font-weight: 700;
  }
  .logo a {
    color: red;
    font-size: 25px;
    font-weight: 700;
    font-family: "Open Sans", sans-serif;
    font-family: "Pattaya", sans-serif;
    letter-spacing: 3px;
  }

  .cart {
    display: flex;
    align-items: center;
    gap: 2px;
    color: white;
    height: 50px;
  }

  .cart img {
    width: 27px;
  }

  .cart_count {
    font-size: 13px;
    font-weight: 200;
    width: 18px;
    right: 1px;
  }

  /* menu items */

  .menu {
    display: flex;
    margin-top: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .element_menu {
    font-size: 20px;
    font-weight: 500;
    padding: 8px 13px 6px;
    line-height: 1.3;
  }

  /* kartochka tovara */
  .catalogs img {
    max-height: 120px;
    min-height: 120px;
  }
/* 
  .catalogs {
    gap: 20px 40px;
  } */

  .card {
    flex-basis: 30%;
    font-size: 13px;
  }

  .my_cart_products, .contakts_container, .dostavka_oplata {
    margin-top: 50px;
  }

  .card-title {
    font-size: 17px;
  }

  .sposob-oplati img {
    max-width: 40px;
  }

  /* Контакты */

  #map {
    width: 50px;
  }

  /* корзина */

  .my_cart_products img {
    max-height: 120px;
    min-height: 120px;
  }

  .count_kg {
    display: flex;
    margin: 0 auto;
  }
}


@media (min-device-width: 601px) and (max-device-width: 800px) {

  /* header */
  header {
    display: flex;
    /* flex-direction: column; */
    padding-left: 5px;
    padding-right: 5px;
  }
  nav {
    display: flex;
    align-items: center;
    gap: 0px 50px;
  }

  nav a {
    font-size: 18px;
    font-weight: 700;
  }
  .logo a {
    color: red;
    font-size: 25px;
    font-weight: 700;
    font-family: "Open Sans", sans-serif;
    font-family: "Pattaya", sans-serif;
    letter-spacing: 3px;
  }

  .cart {
    display: flex;
    align-items: center;
    gap: 2px;
    color: white;
    height: 50px;
  }

  .cart img {
    width: 27px;
  }

  .cart_count {
    font-size: 13px;
    font-weight: 200;
    width: 18px;
    right: 1px;
  }

  /* menu items */

  .menu {
    display: flex;
    margin-top: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .element_menu {
    flex-basis: 30%;
    font-size: 20px;
    font-weight: 500;
    padding: 8px 13px 6px;
    line-height: 1.3;
  }

  /* kartochka tovara */
  .catalogs img {
    max-height: 120px;
    min-height: 120px;
  }

  .catalogs {
    gap: 20px 20px;
  }

  .card {
    flex-basis: 25%;
    font-size: 13px;
  }

  .card-title {
    font-size: 17px;
  }

  .sposob-oplati img {
    max-width: 40px;
  }

  /* Контакты */

  #map {
    width: 50px;
  }

  /* корзина */

  .my_cart_products img {
    max-height: 120px;
    min-height: 120px;
  }

  .count_kg {
    display: flex;
    margin: 0 auto;
  }
}

